package cn.com.blueInfo.bpm.person.entity;

import cn.com.blueInfo.bpm.common.entity.BaseEntity;
import cn.com.blueInfo.bpm.person.enums.HeadshipLeaderFlag;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 职务信息表
 * @author suxch
 * @since 2025-08-24 01:39:52
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mc_osm_headship", autoResultMap = true)
@Schema(description = "职务信息表")
public class Headship extends BaseEntity {

    /** ID */
    @TableId(type = IdType.INPUT)
    @Schema(description = "ID")
    private Long id;
    /** 职务编号（来自于编码规则） */
    @Schema(description = "职务编号（来自于编码规则）")
    private String headNo;
    /** 职务编码 */
    @Schema(description = "职务编码")
    private String headCode;
    /** 职务名称 */
    @Schema(description = "职务名称")
    private String headName;
    /** 领导标识：1-是，0-否 */
    @Schema(description = "领导标识：1-是，0-否")
    private HeadshipLeaderFlag leaderFlag;

}
